IApi.RemoveVariable 方法
移除一個使用者定義變數。
命名空間:IntervalZero.KINGSTAR.Base.Api組合: IntervalZero.KINGSTAR.Base.Api (於 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0
語法
KsError RemoveVariable(
UserVariable Variable
)
Function RemoveVariable(
Variable As UserVariable
) As KsError
參數
Variable
型別:UserVariable
欲移除的變數。
回傳值
型別:KsError
方法的回傳值。
備註
使用 Debug 方法或 Log 時,無法使用 RemoveVariable 移除使用者變數。
可用的 EtherCAT 狀態
ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP
範例
N/A
參見